<template>
  <div class="custom-title">
    <p>{{ name }}</p>
    <div class="right-content">
      <slot name="right" />
    </div>
  </div>
</template>

<script>
export default {
  props: {
    name: {
      type: String,
      default: ''
    }
  },
  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.custom-title {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
</style>